// Mod 缩写
let MOD = (domain, id, x) => (x ? `${x}x ` : "") + (id.startsWith('#') ? '#' : "") + domain + ":" + id.replace('#', '')
let CR = (id, x) => MOD("create", id, x)
let CRA = (id, x) => MOD("createaddition", id, x)
let TC = (id, x) => MOD("tconstruct", id, x)
let MC = (id, x) => MOD("minecraft", id, x)
let KJ = (id, x) => MOD("kubejs", id, x)
let FD = (id, x) => MOD("farmersdelight", id, x)
let BOP = (id, x) => MOD("biomesoplenty", id, x)
let SD = (id, x) => MOD("storagedrawers", id, x)
let SP = (id, x) => MOD("supplementaries", id, x)
let F = (id, x) => MOD("forge", id, x)
let OCC = (id, x) => MOD("occultism", id, x)
let MEK = (id, x) => MOD("mekanism", id, x)
let MEKG = (id, x) => MOD("mekanismgenerators", id, x)
let MEKT = (id, x) => MOD("mekanismtools", id, x)
let IF = (id, x) => MOD("industrialforegoing", id, x)
let TAC = (id, x) => MOD("tac", id, x)
let FAA = (id, x) => MOD("forbidden_arcanus", id, x)
let DC = (id, x) => MOD("druidcraft", id, x)
let IAF = (id, x) => MOD("iceandfire", id, x)
let TM = (id, x) => MOD("torchmaster", id, x)
let AR = (id, x) => MOD("doomangelring", id, x)
let TE = (id, x) => MOD("thermal", id, x)
let PW = (id, x) => MOD("powah", id, x)
let RS = (id, x) => MOD("refinedstorage", id, x)
let PZ = (id, x) => MOD("pipez", id, x)
let TLM = (id, x) => MOD("touhou_little_maid", id, x)
let CO = (id, x) => MOD("crossroads", id, x)
let UG = (id, x) => MOD("undergarden", id, x)
let VC = (id, x) => MOD("vanillacookbook", id, x)
//
onEvent('recipes', event => {
	
event.recipes.createCrushing([
Item.of(MC("slime_ball"), 1).withChance(0.8),
Item.of(MEK("dust_lead")).withChance(0.18)
], MC('lead')).processingTime(250).id('eow:lead_dust')	

/*
event.custom({
  "type": "create:mixing",
  "ingredients": [
    {
      "fluid": "tconstruct:molten_ender",
      "amount": 500
    },
    {
      "fluid": "tconstruct:molten_lead",
      "amount": 576 
    },
,
    {
      "item": "kubejs:zincream",
      "count": 1
    }
  ],
  "results": [
    {
      "fluid": "tconstruct:molten_enderium",
      "amount": 432
    }
  ],
  "heatRequirement": "heated"
}).id('eow:molten_enderium')


event.custom({
  "type": "interactio:item_lightning",
  "inputs": [
    {
      "item": "minecraft:bricks",
      "count": 1
    }
  ],
  "output": {
    "entries": [
      {
        "result": {
          "item": "kubejs:aluminum_ingot",
          "count": 1
        },
        "weight": 99
      }
    ],
    "empty_weight": 1,
    "rolls": 1
  }
}).id('eow:aluminum_ingot')*/

let dvp = 'neapolitan:dried_vanilla_pods'
event.recipes.createSequencedAssembly([
		'mekanism:dust_uranium',
	], 'neapolitan:dried_vanilla_pods', [
		event.recipes.createFilling(dvp, [dvp, Fluid.of(CO("molten_copshowium"), 250)]),
		event.recipes.createFilling(dvp, [dvp, Fluid.of(CO("liquid_fat"), 500)])
	]).transitionalItem(dvp)
		.loops(2)
		.id('mekanism:dust_uranium')

event.custom({
  "type": "create:compacting",
  "ingredients": [
    {
      "fluid": "kubejs:dendro_solution",
      "nbt": {},
      "amount": 1000
    }
  ],
  "results": [
    {
      "item": "kubejs:dendro_essence"
    }
  ],
  "heatRequirement": "superheated"
})
/*
event.custom({
  "type": "interactio:item_explode",
  "inputs": [
    {
      "item": "undergarden:forgotten_ingot",
      "count": 1
    },
    {
      "item": "undergarden:regalium_ingot",
      "count": 1
    },
    {
      "item": "undergarden:utherium_ingot",
      "count": 1
    },
    {
      "item": "undergarden:froststeel_ingot",
      "count": 1
    },
    {
      "item": "undergarden:cloggrum_ingot",
      "count": 1
    },
  ],
  "output": {
    "entries": [
      {
        "result": {
          "item": "kubejs:iridium_ingot",
          "count": 4
        },
        "weight": 6
      },
      {
        "result": {
          "item": "undergarden:froststeel_ingot",
          "count": 5
        },
        "weight": 2
      },
      {
        "result": {
          "item": "undergarden:utherium_ingot",
          "count": 6
        },
        "weight": 2
      },
      {
        "result": {
          "item": "undergarden:regalium_ingot",
          "count": 5
        },
        "weight": 2
      },
      {
        "result": {
          "item": "undergarden:cloggrum_ingot",
          "count": 5
        },
        "weight": 1
      }
    ],
    "empty_weight": 0,
    "rolls": 1
  }
})

event.custom({
  "type": "farmersdelight:cutting",
  "ingredients": [
    {
      "item": MC('dried_kelp_block')
    }
  ],
  "tool": {
    "item": "tconstruct:cleaver"
  },
  "result": [
    {
      "item": "ftbic:carbon_fibers",
      "count": 1
    }
  ]
})
*/

})